package com.aizuda.boot.modules.business.employee.domain.response;

import com.aizuda.boot.modules.business.permission.domain.response.RoleVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 获取用户列表返回实体
 * @author duanyao
 * @date 2022/11/13 19:44
 *
 */
@Data
@Schema(description = "获取用户列表返回实体")
public class GetUserListRespDTO implements Serializable {

    private static final long serialVersionUID=1L;

    @Schema(description = "登录账号")
    private String uid;

    @Schema(description = "员工Id")
    private Long id;

    @Schema(description = "用户姓名")
    private String name;

    @Schema(description = "员工状态；1：在职，2：离职")
    private Integer workStatus;

    @Schema(description = "系统状态，1：已关闭，2：已启动")
    private Integer systemStatus;

    @Schema(description = "用户昵称")
    private String aliasName;

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "性别")
    private Integer sex;

    @Schema(description = "角色信息")
    List<RoleVO> list;

}
